Ext.define('BISC.store.ServerStore', {
  extend: 'Ext.data.Store',
  requires: [
    'BISC.model.ServerModel'
  ],
  constructor: function(cfg) {
    var me = this;
    cfg = cfg || {};
    me.callParent([Ext.apply({
      autoLoad: true,
      storeId: 'serverstore',
      model: 'BISC.model.ServerModel',
      proxy: {
        type: 'jsonp',
        url: 'http://localhost:8888/listServers',
        reader: {
          type: 'json',
          implicitIncludes: false,
          root: 'records'
        }
      }
    }, cfg)]);
  }
});
